package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelLike;
import cn.wolfcode.trip.base.domain.User;

import java.util.List;

/**
 * 添加游记点赞接口
 */
public interface ITravelLikeService {


    TravelLike toByTravelIdAndUserId(Long travelId,User user );

    TravelLike selectBytravelId(Long travelId, User currentUser);

    List<TravelLike> selectAll(int type, Long targetId);

    void changeType(int type, Long targetId);

}
